<?php
class CmsBlockTypeModel extends ModelIdName
{
    protected static $instance;
    public static $BLOCKTYPE_CONTROL    = 'control';
    public static $BLOCKTYPE_TEXT       = 'text';
    public static $BLOCKTYPE_ELEMENT    = 'element';

    public static function GetInstance()
    {
        return self::$instance ? self::$instance : self::$instance = new CmsBlockTypeModel();
    }

    protected function LoadRows()
    {
        $this->AddRow(self::$BLOCKTYPE_CONTROL);
        $this->AddRow(self::$BLOCKTYPE_TEXT);
        $this->AddRow(self::$BLOCKTYPE_ELEMENT);
    }
}
?>